import { createRouter,createWebHistory,RouteRecordRaw } from "vue-router";


const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: 'HelloWorld',
        component: () => import('../components/HelloWorld.vue')
    },
    {
        path: '/Login',
        name: 'Login',
        component: () => import('../view/Login.vue')
    },
    {
        path: '/LoginShow',
        name: 'LoginShow',
        component: () => import('../view/LoginShow.vue')
    }

]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router